// 导入封装的axios
import axios from "../utils/http";
// 导入封装的接口地址
import * as baseURL from "../api/url";
import {visitor_queryAll} from "../api/url";

export const addVisitor =(data)=>{
    return axios({
        url: baseURL.visitor_add,
        method: "post",
        data,
    });

};

export  const queryVisitor =()=>{
    return axios({
        url: baseURL.visitor_queryAll,
        method: "post",

    });
};